package com.solution.form;

import java.util.List;

import org.apache.struts.upload.FormFile;
import org.apache.struts.validator.ValidatorActionForm;

import com.solution.model.CategoryType;
import com.solution.model.LevelType;
import com.solution.model.QuestionType;

public class QuestionForm extends ValidatorActionForm{

	private static final long serialVersionUID = 1L;
	private boolean is_updatable = true;
	private String question_id;
	private String question_statement;
	private String question_status;
	private FormFile question_image = null;
	private String question_image_id;
	private String question_category_id;
	private String question_level_id;
	private String answer_option[];
	private FormFile answer_option_image1 = null;
	private FormFile answer_option_image2 = null;
	private FormFile answer_option_image3 = null;
	private FormFile answer_option_image4 = null;
	private FormFile answer_option_image5 = null;
	
	private String answer_option_image1_id;
	private String answer_option_image2_id;
	private String answer_option_image3_id;
	private String answer_option_image4_id;
	private String answer_option_image5_id;
	
	private FormFile bulk_questions = null;
	
	private int is_correct;
	private List<CategoryType> categories;
	private List<LevelType> levels;
	
	// Screen Navigation specific parameters.
	private String screen_type;
	private String show_list;
	
	// for displaying the search results.
	private List<QuestionType> question_list;

	public String getQuestion_id() {
		return question_id;
	}

	public void setQuestion_id(String question_id) {
		this.question_id = question_id;
	}

	public String getQuestion_statement() {
		return question_statement;
	}

	public void setQuestion_statement(String question_statement) {
		this.question_statement = question_statement;
	}

	public String getQuestion_status() {
		return question_status;
	}

	public void setQuestion_status(String question_status) {
		this.question_status = question_status;
	}

	public FormFile getQuestion_image() {
		return question_image;
	}

	public void setQuestion_image(FormFile question_image) {
		this.question_image = question_image;
	}

	public String getScreen_type() {
		return screen_type;
	}

	public void setScreen_type(String screen_type) {
		this.screen_type = screen_type;
	}

	public String getShow_list() {
		return show_list;
	}

	public void setShow_list(String show_list) {
		this.show_list = show_list;
	}

	public List<QuestionType> getQuestion_list() {
		return question_list;
	}

	public void setQuestion_list(List<QuestionType> question_list) {
		this.question_list = question_list;
	}

	public List<CategoryType> getCategories() {
		return categories;
	}

	public void setCategories(List<CategoryType> categories) {
		this.categories = categories;
	}

	public List<LevelType> getLevels() {
		return levels;
	}

	public void setLevels(List<LevelType> levels) {
		this.levels = levels;
	}

	public String getQuestion_image_id() {
		return question_image_id;
	}

	public void setQuestion_image_id(String question_image_id) {
		this.question_image_id = question_image_id;
	}

	public String getQuestion_category_id() {
		return question_category_id;
	}

	public void setQuestion_category_id(String question_category_id) {
		this.question_category_id = question_category_id;
	}

	public String getQuestion_level_id() {
		return question_level_id;
	}

	public void setQuestion_level_id(String question_level_id) {
		this.question_level_id = question_level_id;
	}

	public String[] getAnswer_option() {
		return answer_option;
	}

	public void setAnswer_option(String[] answer_option) {
		this.answer_option = answer_option;
	}

	public FormFile getAnswer_option_image1() {
		return answer_option_image1;
	}

	public void setAnswer_option_image1(FormFile answer_option_image1) {
		this.answer_option_image1 = answer_option_image1;
	}

	public FormFile getAnswer_option_image2() {
		return answer_option_image2;
	}

	public void setAnswer_option_image2(FormFile answer_option_image2) {
		this.answer_option_image2 = answer_option_image2;
	}

	public FormFile getAnswer_option_image3() {
		return answer_option_image3;
	}

	public void setAnswer_option_image3(FormFile answer_option_image3) {
		this.answer_option_image3 = answer_option_image3;
	}

	public FormFile getAnswer_option_image4() {
		return answer_option_image4;
	}

	public void setAnswer_option_image4(FormFile answer_option_image4) {
		this.answer_option_image4 = answer_option_image4;
	}

	public FormFile getAnswer_option_image5() {
		return answer_option_image5;
	}

	public void setAnswer_option_image5(FormFile answer_option_image5) {
		this.answer_option_image5 = answer_option_image5;
	}

	public int getIs_correct() {
		return is_correct;
	}

	public void setIs_correct(int is_correct) {
		this.is_correct = is_correct;
	}

	public String getAnswer_option_image1_id() {
		return answer_option_image1_id;
	}

	public void setAnswer_option_image1_id(String answer_option_image1_id) {
		this.answer_option_image1_id = answer_option_image1_id;
	}

	public String getAnswer_option_image2_id() {
		return answer_option_image2_id;
	}

	public void setAnswer_option_image2_id(String answer_option_image2_id) {
		this.answer_option_image2_id = answer_option_image2_id;
	}

	public String getAnswer_option_image3_id() {
		return answer_option_image3_id;
	}

	public void setAnswer_option_image3_id(String answer_option_image3_id) {
		this.answer_option_image3_id = answer_option_image3_id;
	}

	public String getAnswer_option_image4_id() {
		return answer_option_image4_id;
	}

	public void setAnswer_option_image4_id(String answer_option_image4_id) {
		this.answer_option_image4_id = answer_option_image4_id;
	}

	public String getAnswer_option_image5_id() {
		return answer_option_image5_id;
	}

	public void setAnswer_option_image5_id(String answer_option_image5_id) {
		this.answer_option_image5_id = answer_option_image5_id;
	}

	public FormFile getBulk_questions() {
		return bulk_questions;
	}

	public void setBulk_questions(FormFile bulk_questions) {
		this.bulk_questions = bulk_questions;
	}

	public boolean getIs_updatable() {
		return is_updatable;
	}

	public void setIs_updatable(boolean is_updatable) {
		this.is_updatable = is_updatable;
	}
}
